package jk.fox.common.payload.server;

import jk.fox.common.RpcDict;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author cuichao
 * @Description: DefaultServer
 * @Date: create in 2020/6/4 22:26
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class DefaultServer implements Server {

    private String address;

    private RpcDict.NodeStatus status = RpcDict.NodeStatus.INIT;

    @Override
    public String address() {
        return address;
    }

    @Override
    public RpcDict.NodeStatus status() {
        return status;
    }



}
